package com.wmh.baseservice.operationaid.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;

/**
 * 运营助手-淘宝店铺数据
 * @author 谢骏
 * @TableName operation_aid_tb_store_data
 * @createDate 2023-06-30 15:50:52
 */
@Data
@Accessors(chain = true)
@TableName("operation_aid_tb_store_data")
public class TbStoreData implements Serializable {

    /**
     * 主键
     */
    @TableId(value = COL_ID ,type = IdType.AUTO)
    private Long id;

    /**
     * 店铺名称
     */
    @TableField(value = COL_STORE_NAME)
    private String storeName;

    /**
     * 数据日期
     */
    @TableField(value = COL_DATA_DATE)
    private LocalDateTime dataDate;

    /**
     * 支付金额
     */
    @TableField(value = COL_AMOUNT_PAID)
    private BigDecimal amountPaid;

    /**
     * 退款金额
     */
    @TableField(value = COL_REFUND_AMOUNT)
    private BigDecimal refundAmount;

    /**
     * 访客数量
     */
    @TableField(value = COL_VISITORS_NUM)
    private Long visitorsNum;

    /**
     * 支付转化率
     */
    @TableField(value = COL_PAY_TRANSFORM_RATE)
    private BigDecimal payTransformRate;

    /**
     * 直通车花费
     */
    @TableField(value = COL_ZTC_SPEND)
    private BigDecimal ztcSpend;

    /**
     * 引力魔方花费
     */
    @TableField(value = COL_YLMF_SPEND)
    private BigDecimal ylmfSpend;

    /**
     * 万象台花费
     */
    @TableField(value = COL_WXT_SPEND)
    private BigDecimal wxtSpend;

    /**
     * 直播间金额
     */
    @TableField(value = COL_LIVE_ROOM_AMOUNT)
    private BigDecimal liveRoomAmount;

    /**
     * 直通车成交额
     */
    @TableField(value = COL_ZTC_TRANSACTION_AMOUNT)
    private BigDecimal ztcTransactionAmount;

    /**
     * 引力魔方成交额
     */
    @TableField(value = COL_YLMF_TRANSACTION_AMOUNT)
    private BigDecimal ylmfTransactionAmount;

    /**
     * 万象台成交额
     */
    @TableField(value = COL_WXT_TRANSACTION_AMOUNT)
    private BigDecimal wxtTransactionAmount;

    /**
     * 补单数
     */
    @TableField(value = COL_FILL_ORDER_NUM)
    private Integer fillOrderNum;

    /**
     * 刷单金额
     */
    @TableField(value = BRUSH_ORDERS_AMOUNT)
    private BigDecimal brushOrdersAmount;

    /**
     * 创建时间
     */
    @TableField(value = COL_CREATE_TIME)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(value = COL_UPDATE_TIME,fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 删除 0 未删除 1已删除
     */
    @TableField(value = COL_DELETED)
    @TableLogic
    private Integer deleted;


    /**
     * 主键
     */
    public static final String COL_ID = "id";

    /**
     * 店铺名称
     */
    public static final String COL_STORE_NAME = "store_name";

    /**
     * 数据日期
     */
    public static final String COL_DATA_DATE = "data_date";

    /**
     * 支付金额
     */
    public static final String COL_AMOUNT_PAID = "amount_paid";

    /**
     * 退款金额
     */
    public static final String COL_REFUND_AMOUNT = "refund_amount";

    /**
     * 访客数量
     */
    public static final String COL_VISITORS_NUM = "visitors_num";

    /**
     * 支付转化率
     */
    public static final String COL_PAY_TRANSFORM_RATE = "pay_transform_rate";

    /**
     * 直通车花费
     */
    public static final String COL_ZTC_SPEND = "ztc_spend";

    /**
     * 引力魔方花费
     */
    public static final String COL_YLMF_SPEND = "ylmf_spend";

    /**
     * 万象台花费
     */
    public static final String COL_WXT_SPEND = "wxt_spend";

    /**
     * 直播间金额
     */
    public static final String COL_LIVE_ROOM_AMOUNT = "live_room_amount";

    /**
     * 直通车成交额
     */
    public static final String COL_ZTC_TRANSACTION_AMOUNT = "ztc_transaction_amount";

    /**
     * 引力魔方成交额
     */
    public static final String COL_YLMF_TRANSACTION_AMOUNT = "ylmf_transaction_amount";

    /**
     * 万象台成交额
     */
    public static final String COL_WXT_TRANSACTION_AMOUNT = "wxt_transaction_amount";

    /**
     * 补单数
     */
    public static final String COL_FILL_ORDER_NUM = "fill_order_num";

    /**
     * 刷单金额
     */
    public static final String BRUSH_ORDERS_AMOUNT = "brush_orders_amount";

    /**
     * 创建时间
     */
    public static final String COL_CREATE_TIME = "create_time";

    /**
     * 修改时间
     */
    public static final String COL_UPDATE_TIME = "update_time";

    /**
     * 删除 0 未删除 1已删除
     */
    public static final String COL_DELETED = "deleted";

    @TableField(exist = false)
    static final long serialVersionUID = 1L;
}
